
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>关于我们与帮助中心信息管理</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<link href="__STATIC__/layout/css/channel.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>
   
    </style>

</head>

<body class="white-bg" style="padding: 3px;font-size: 13px">
    <div class="page-heade">
       <h2 class="title_color text-center">关于我们与帮助中心信息管理</h2>
    </div>
    <table class="table table-bordered">
        <tr>
            <td><a href="javascript:;" class="btn btn-sm btn-primary" id="addDPinfo">新增信息</a></td>
        </tr>
    </table>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei">
            <tr>
                <td style="width: 120px" class="text-right">主题：</td>
                <td>
                    <input type="text" name="" class="form-control">
                </td> 
                   <td class="text-right"  style="width: 120px">状态：</td>
                   <td>
                    <select name="" id="" class="form-control">
                        <option value="0">请选择</option>
                    </select>
                   </td>
                   <td colspan="2"></td>
               </tr>
               <tr>
                  <td colspan="6" class="text-center"> <button class="btn-sm btn-info btn" type="button">查询</button><span class="lr_5"></span><button class="btn-sm btn-info btn" type="reset" id="reset">清空查询条件</button></td>
               </tr>
        </table>
    </form>
    <table class="table table-striped table-bordered table-hover bud_hei text-center aprovalSystemTable" style="width: 100%;">
        <tr class="info">
            <th class="text-center">No.</th>
            <th class="text-center">类型</th>
            <th class="text-center" style="width: 300px">主题</th>
            <th class="text-center">状态</th>
            <th class="text-center">时间</th>
            <th class="text-center">操作</th>
        </tr>
        <tbody>
            <tr>
                <td>1</td>
                <td>客服服务</td>
                <td class="text-left"><a href="{:url('Other/dphelpdetail')}">DP经销商服务</a></td>
                <td>未发布</td>
                <td>2016-04-13 17:14:50</td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
            <tr>
                <td>2</td>
                <td>联系我们</td>
                <td class="text-left"><a href="{:url('Other/dphelpdetail')}">DP经销商管理</a></td>
                <td>未发布</td>
                <td>2016-04-13 17:14:50</td>
                <td><a href="javascript:;" class="modify">修改</a>&nbsp;<a href="javascript:;" class="delthis">删除</a></td>
            </tr>
    </tbody>
    </table>
    <h5 class="text-center"  style="font-size: 13px;font-weight: 500">
                    总共有12条记录，第1/2页,当前页<input id="page" type="text"  style="width: 40px" value="1"/><span id="gopage">Go</span>&nbsp;&nbsp;<span id="fistpage">首页</span>&nbsp;&nbsp;
                    每页显示
                    <select id="pagesize">
                        <option value='10' selected>10条</option>
                        <option value='15'>15条</option>
                        <option value='20'>20条</option>

                    </select>
                </h5>


<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
  <script src="__STATIC__/layout/js/contabs_sub.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
  
    $(document).ready(function () {

        $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
    })   
$("#addDPinfo").click(function(){
      layer.open({
                type: 2,
                title: '新增信息',
                 area: ['1200px', '600px'],
                fixed: false, //不固定
                maxmin: true,
                content: "{:url('Other/dphelpinfomanage')}"
            });
            return false

})
$(".modify").click(function(){
      layer.open({
                type: 2,
                title: '关于我们与帮助中心信息管理修改',
                 area: ['1200px', '600px'],
                fixed: false, //不固定
                maxmin: true,
                content: "{:url('Other/dphelpinfomanage')}"
            });
            return false

})

$(document).on("click",".delthis",function(){
        var bid=$(this).parent().attr("bid");
            swal({
                            title: "",
                            text: "一经删除，将不能再恢复，是否确认删除？",
                            type: "warning",
                            showCancelButton: true,
                            confirmButtonColor: "#FF3333",
                            confirmButtonText: "确定",
                            cancelButtonText: "取消",
                            closeOnConfirm: true
                        // },
                        // function (isConfirm) {
                        //    if (isConfirm) {
                        //     $.post("/salls/public/index.php/index/productsbrands/dropbran.html",{bid:bid},function(re){
                        //         if(re==1){
                        //             // swal({
                        //             // title: "完成",
                        //             // text:  "品牌已删除",
                        //             // type: "success"
                        //             // },function(){
                        //             //     location.href='/salls/public/index.php/index/productsbrands/brands.html';
                        //             // });
                        //         }else{
                        //              swal({
                        //             title: "错误",
                        //             text:  "系统繁忙请稍后再试",
                        //             type: "warning"
                        //             });
                        //         }
                        //     })
                        // }
                        })

})
</script>
</body>

</html>